#include <iostream>
#include <string>

main() {
	string str ;
	cin >> str ;
	cout << str.length() ;
	char *ch = new char [str.length()] ;
	str.copy(ch, str.length()) ;
	
	cout << (int)ch[str.length()] ;
}